<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div id="welcome" class="welcome">

</div>
</body>
<script src="js/jquery.min.js"></script>
<script type="text/javascript">
    var supervise=localStorage.getItem("supervisename");
    alert("name"+supervise);
    console.log(supervise);
    html="";
    html += "欢迎"+supervise+"登陆成功";
    $('.welcome').append(html);
</script>
</html>